<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <title>后台管理</title>
    <link rel="stylesheet" href="__STATIC__/js/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/css/admin.css">
    <link rel="stylesheet" href="__STATIC__/css/fontawesome-all.min.css">
    <script src="__STATIC__/js/layui.js"></script>
    <style>
        .layui-icon-haoyouqingqiu:before {
            content: "\e612";
        }
    </style>
</head>
<body class="layui-layout-body">

<div id="LAY_app">
    <div class="layui-layout layui-layout-admin">
        <!-- 侧边菜单 -->
        <div class="layui-side layui-side-menu">
            <div class="layui-side-scroll">
                <div class="layui-logo" url="home/console.html">
                    <span>后台管理</span>
                </div>
                <ul class="layui-nav layui-nav-tree" id="LAY-system-side-menu" lay-filter="side-menu">
                    <li class="layui-nav-item">
                        <a href="javascript:;" url="{:url('index/console')}" tips="控制台" id="0" name="控制台">
                            <i class="fas fa-home"></i>
                            <cite>控制台</cite>
                        </a>
                    </li>
                    {volist name="menu" id="v"}
                    <li class="layui-nav-item">
                        <a href="javascript:;" {empty name="v.son"}url="{:url('@'.$v['module'].'/'.$v['controller'].'/'.$v['action'])}"{/empty} id="{$v.id}" tips="{$v.name}" name="{$v.name}">
                            <i class="fas {$v.icon}"></i>
                            <cite>{$v.name}</cite>
                        </a>
                        {notempty name="v.son"}
                        <dl class="layui-nav-child">
                            {volist name="v.son" id="r"}
                            <dd>
                                <a href="javascript:;" url="{:url('@'.$r['module'].'/'.$r['controller'].'/'.$r['action'])}" id="{$r.id}" name="{$r.name}">{$r.name}</a>
                            </dd>
                            {/volist}
                        </dl>
                        {/notempty}
                    </li>
                    {/volist}
                </ul>
            </div>
        </div>

        <!-- 页面标签 -->
        <div class="layadmin-pagetabs" id="LAY_app_tabs">
            <div class="layui-icon layadmin-tabs-control layui-icon-shrink-right" id="LAY_app_flexible"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-prev" id="leftPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-next" id="rightPage"></div>
            <div class="layui-icon layadmin-tabs-control layui-icon-down">
                <ul class="layui-nav layadmin-tabs-select" lay-filter="pagetabs-nav">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;"></a>
                        <dl class="layui-nav-child layui-anim-fadein">
                            <dd id="refreshThisTabs"><a href="javascript:;">刷新当前标签页</a></dd>
                            <dd id="closeThisTabs"><a href="javascript:;">关闭当前标签页</a></dd>
                            <dd id="closeOtherTabs"><a href="javascript:;">关闭其它标签页</a></dd>
                            <dd id="closeAllTabs"><a href="javascript:;">关闭全部标签页</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
            <div class="layui-icon layadmin-tabs-control layui-icon-haoyouqingqiu" id="userInfo">
                <ul class="layui-nav layadmin-tabs-select" lay-filter="userInfo">
                    <li class="layui-nav-item" lay-unselect>
                        <a href="javascript:;"></a>
                        <dl class="layui-nav-child layui-anim-fadein">
                            <dd><a href="javascript:;" url="{:url('index/modify_my')}" data-id="modifyMy" class="openNav">个人资料</a></dd>
                            <dd><a href="javascript:;" url="{:url('index/modify_pwd')}" data-id="modifyPwd" class="openNav">修改密码</a></dd>
                            <hr>
                            <dd><a href="{:url('passport/logout')}">退出</a></dd>
                        </dl>
                    </li>
                </ul>
            </div>
            <div class="layui-tab" lay-filter="layout-tabs" lay-allowClose="true" lay-unauto>
                <ul class="layui-tab-title" id="LAY_app_tabsheader">
                    <li lay-id="0" class="layui-this"><i class="layui-icon layui-icon-home"></i></li>
                </ul>
            </div>
        </div>

        <!-- 主体内容 -->
        <div class="layui-body" id="LAY_app_body">
            <div class="layadmin-tabsbody-item layui-show">
                <iframe src="{:url('index/console')}" frameborder="0" class="layadmin-iframe"></iframe>
            </div>
        </div>

        <!-- 辅助元素，一般用于移动设备下遮罩 -->
        <div class="layadmin-body-shade" layadmin-event="shade"></div>
    </div>
</div>


<script>
    layui.config({
        base: '__STATIC__/js/'
    }).use(['app'], function () {
        var app=layui.app;
        app.index();
    });
</script>
</body>
</html>